package com.example.demo.infoapp;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix="info.app")
public class InfoApp {
    private String name;
    private String description;
    private String version;
    public String getName(){
        return  name;
    }
    public void setName(String name){
        this.name=name;

    }


    @Override
    public String toString() {
        return "InfoApp{" +
                "name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", version='" + version + '\'' +
                '}';
    }
}
